<extend name="Public/base"/>
<block name="head">
	 <link rel="stylesheet" type="text/css" href="__CSS__/user.css">
</block>
<block name="body">
<div class="container user-center">
    <div class="row">
        <div class="col-md-2">
            <include file="Public:usernav"/>
        </div>
        <div class="col-md-10">
        	<h3>订单详情</h3>
            <div class="box col-md-12">
            		<div class="box-title col-md-12">
            			<h5 class="col-md-7">商品</h5>
	           			<h5 class="col-md-1">单价</h5>
	            		<h5 class="col-md-1">数量</h5>
	            		<h5 class="col-md-1">小计</h5>
	            		
            		</div>
            		<div class="box-title  bg-primary col-md-12">
            			<h5 class="col-md-3">{:date('Y-m-d H:i:s',$order['create_time'])}</h5>
	           			<h5 class="col-md-3">订单号:{$order.order_no}</h5>
	            		<h5 class="col-md-3">订单金额:<span style="font-weight:bold;">￥{$order.goods_amount}+{$order.use_points}积分</span></h5>
	            		<h5 class="col-md-3">订单状态:
	            			<switch name="order.status">
		            				<case value="0">
		            					未支付
		            				</case>
		            				<case value="1">
		            					已支付
		            				</case>
		            			</switch>
	            		</h5>
	            		
            		</div>	
            		<div class="contents col-md-12">
	           			<volist name="goods_list" id="goods">
	           				<div class="item col-md-12">
	           					<div class="col-md-7">
	           						<div class="col-md-5">
	           							<img alt="{$goods.goods_name}" style="width:100px;" src="{$goods.pic_url|get_image_url}">
	           						</div>
	           						<div class="col-md-7">{$goods.goods_name}</div>
	           					</div>
	           					<div class="col-md-1">{$goods.price}</div>
			            		<div class="col-md-1">{$goods.number}</div>
			            		<div class="col-md-1">{:number_format($goods['price']*$goods['number'],2)}</div>
			            		
	           				</div>
	           			</volist>
           			</div>
            		<div class="box-title col-md-12">
            			<h5 class="col-md-6">送货地址</h5>
            		</div>
            		<div class="contents col-md-12">
            			<div class="item">
            				{$order.consignee}&nbsp;&nbsp;{$order.mobile}&nbsp;&nbsp;{$order.province|get_district_name}{$order.city|get_district_name}{$order.district|get_district_name}{$order.community|get_district_name}&nbsp;&nbsp;{$order.address}
            			</div>
            		</div>
            	
           		
            		
            		
            </div>
            </div>
        </div>
    </div>
</div>
</block>
